/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view;

import model.DB2Hash;

/**
 *
 * @author aeguzkiza
 */
public class DicomAttribute {
    String Tag;
    DB2Hash dicomAttribute;

    DicomAttribute(String Tag, DB2Hash dicomAttribute) {
        this.Tag = Tag;
        this.dicomAttribute = dicomAttribute;
    }
    
    public String getDicomTag(){
        return this.Tag;
    }
    public DB2Hash getDicomAttribute(){
        return this.dicomAttribute;
    }
        
    public String toString() {        
        String header;
            header = "<html>&nbsp<br><p align=\"center\">"+this.dicomAttribute.get("AttributeName")+" <br>("+this.Tag+")</p><br><br><br>&nbsp</html>";        
            //header = "<html><br>"+AttributeName+"</html>";        
        return header;
    }
    
}